#ifndef TSQLRELATIONALDELEGATE_H
#define TSQLRELATIONALDELEGATE_H

#include <QSqlRelationalDelegate>
#include <QObject>
#include <QPainter>

class TSqlRelationalDelegate : public QSqlRelationalDelegate
{
    Q_OBJECT
public:
    TSqlRelationalDelegate(QObject *parent = nullptr);

    // QAbstractItemDelegate interface
public:
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
};

#endif // TSQLRELATIONALDELEGATE_H
